html,
body,
ul,
ol,
li,
dl,
dt,
dd,
p,
button,
input {
  margin: 0;
  padding: 0;
}
ul,
ol,
li {
  list-style: none;
}
a {
  text-decoration: none;
  font-size: 12px;
}
a:hover {
  text-decoration: underline;
}
.clearFixed {
  content: "";
  display: block;
  clear: both;
}
.top {
  background-color: #f1f1f1;
  height: 24px;
  border-bottom: 1px solid #e2e2e2;
  .topMenu {
    width: 1200px;
    margin: 0 auto;
    position: relative;
    a {
      color: #666666;
    }
    .topMR {
      position: absolute;
      right: 0;
      top: 0;
      li {
        float: left;
        a {
          padding: 0 8px;
        }
      }
      li:nth-child(3) a {
        color: #484848;
      }
    }
  }
}
.topBan {
  width: 1200px;
  height: 86px;
  // line-height: 86px;;
  margin: 0 auto;
  .logo {
    margin-left: 12px;
    float: left;
    img {
      vertical-align: middle;
    }
  }
  .search {
    float: left;
    width: 450px;
    margin: 18px 0 4px 50px;
    font-size: 14px;

    .sear {
      input {
        width: 336px;
        height: 30px;
        border: 2px solid #ff6600;
        vertical-align: top;
      }
      input:focus {
        outline: 2px solid #ff6600;
      }
      button {
        width: 100px;
        height: 34px;
        border: 0;
        background-color: #ff6600;
        border-radius: 2px;
        margin-left: -2px;
        color: #fff;
      }
    }

    .searList {
      height: 30px;
      line-height: 30px;
      margin-left: -10px;
      li {
        float: left;
        color: #767676;
        a {
          padding: 0 16px;
          color: #767676;
          font-size: 12px;
        }
        a:hover {
          text-decoration: underline;
        }
      }
    }
  }
}
.nav {
  height: 40px;
  background-color: #10286c;
  color: #fff;
  .nav_con {
    width: 1200px;
    margin: 0 auto;
    height: 40px;
    line-height: 40px;
    .cato {
      float: left;
      width: 170px;
      height: 40px;
      text-align: center;
      background-color: #ff6600;
      a {
        padding: 10px 43px;
        color: #fff;
      }
    }
    .list {
      float: left;

      li {
        float: left;
        padding: 0 20px;
        a {
          color: #fff;
        }
      }
    }
    .carts {
      float: right;
      width: 240px;
      text-align: center;
      background-color: #ff6600;
      position: relative;

      .tips {
        height: 40px;
        line-height: 40px;
        font-size: 14px;
        li {
          float: left;
          cursor: pointer;
          // padding: 9px 0;
        }
        .cart {
          display: inline-block;
          width: 124px;
          border-right: 3px solid #fa8b29;
          // border-left: 3px solid #fff;
          box-sizing: border-box;
        }

        .love {
          width: 115px;
        }
        .active {
          background-color: #fff;
          color: #555;
          border: 3px solid #ff6600;
          border-bottom: 0;
          box-sizing: border-box;
        }
        // .cartList {
        //   display: none;
        //   width: 100px;
        //   // height: 200px;
        //   background-color: cadetblue;
        // }
      }
      .listBox {
        position: absolute;
        top: 40px;
        background-color: #fff;
        color: #767676;
        // border: 2px solid #ff6600;
        // border-top: 0;
        border-bottom: 0;
        z-index: 999999;
        .nothing {
          display: inline-block;
          font-size: 16px;
          padding: 20px 0;
          color: #555;
        }
        .carttip {
          display: none;
          width: 236px;
          padding: 8px 0px;
          font-size: 14px;
          .count {
            padding-right: 12px;
            height: 40px;
            text-align: right;
            color: #333333;
            font-weight: normal;
            span {
              color: #ff6600;
              font-weight: bold;
            }
          }
          .cartList {
            position: relative;
            height: 40px;
            color: #333333;
            font-size: 14px;
            padding: 10px 12px;
            border-top: 1px solid #dadada;
            .delete{
              position: absolute;
              right: 12px;
              top: 28px;
              width: 20px;
              height:20px;
              line-height: 20px;
              text-align: center;
              font-size: 18px;
              color: #fff;
              background-color: #bbbbbb;
              border-radius: 50%;
              font-weight: bold;
              display: none;
              cursor: pointer;
            }
            p {
              height: 20px;
              line-height: 20px;
              margin-left: 10px;
            }
            

            .nameTitle {
              float: left;
              width: 150px;
              // height: 20px;
              white-space: nowrap; /* 强制不换行 */
              overflow: hidden; /* 超出部分隐藏 */
            }
            .proPrice {
              float: left;
              color: #ff6600;
              font-size: 14px;
              font-weight: bold;
              
            }
            img {
              width: 50px;
              // height: 38px;
              border: 1px solid #dadada;
              float: left;
            }
          }
          .ulBotm {
            padding: 5px 12px;
            border-top: 1px solid #dadada;
            span {
              display: inline-block;
              cursor: pointer;
            }
            .check {
              float: left;
              color: #10286c;
            }
            .buyIt {
              margin-left: 22px;
              width: 98px;
              height: 32px;
              background-color: #ff6600;
              line-height: 34px;
              text-align: center;
              color: #fff;
            }
          }
        }
        .lovetip {
          display: none;
          width: 236px;

          // padding: 20px 21px;
        }
        .selected {
          display: block;
        }
      }
    }
  }
}
